<?php

	$res = items;
	
	foreach($res as $result){
		$result->nid;
		
	}

?>